export const defaultAvatar = "/static/avatar.jpeg"

export const STAFF_STATUS = {
	1: {
		value: 1,
		label: '账号正常',
		type: "primary"
	},
	2: {
		value: 2,
		label: '禁用',
		type: "warning"
	},
}

export const EXTRACT_STATUS = {
	1: {
		value: 1,
		label: '提现正常',
		type: "primary"
	},
	2: {
		value: 2,
		label: '提现异常',
		type: "warning"
	},
}

// 店铺营业状态
export const SHOP_STATUS = {
	1: {
		value: 1,
		label: '营业中',
		type: "error",
		bgColor: ""
	},
	2: {
		value: 2,
		label: '休息中',
		type: "",
		bgColor: "#EFEFEF"
	},
}

export const EXAMINE_STATUE = {
	1: {
		value: 1,
		label: '已通过'
	},
	2: {
		value: 2,
		label: '未通过'
	},
}

// 店铺审核状态
export const EXAMINE_STATUS = {
	1: {
		value: 1,
		label: '待审核',
		type: "warning"
	},
	2: {
		value: 2,
		label: '已通过',
		type: "success"
	},
	3: {
		value: 3,
		label: '未通过',
		type: "error"
	}
}

export const INCOME_TYPE = {
	0: {
		value: 0,
		label: '全部',
		checked: true
	},
	1: {
		value: 1,
		label: '订单收入',
		icon: 'file-text-fill',
		color: "#4095E5",
		checked: false
	},
	2: {
		value: 2,
		label: '提现',
		icon: 'weixin-fill',
		color: "#06C663",
		checked: false
	}
}

//商家店铺员工
export const STAFF_ROLES = [{
		value: 1,
		text: '超管',
	},
	{
		value: 2,
		text: '店员'
	},
	{
		value: 3,
		text: '店长'
	},
]

export const STAFF_ROLES_OBJ = {
	1: {
		value: 1,
		text: '超管',
	},
	2: {
		value: 2,
		text: '店员'
	},
	3: {
		value: 3,
		text: '店长'
	},
}

//授权商员工
export const LISCEES_STAFF_ROLES = [{
		value: 1,
		text: '超管',
	},
	{
		value: 2,
		text: '店员'
	}
]

export const ORDER_Status = {
	"-2": {
		value: -2,
		text: '商家拒绝接单',
	},
	"-1": {
		value: -1,
		text: '已取消'
	},
	0: {
		value: 0,
		text: '待接单'
	},
	1: {
		value: 1,
		text: '商家备餐中'
	},
	2: {
		value: 2,
		text: '待骑手接单'
	},
	3: {
		value: 3,
		text: '待取餐'
	},
	4: {
		value: 4,
		text: '配送中'
	},
	5: {
		value: 5,
		text: '已完成'
	},
	6: {
		value: 6,
		text: '申请退款'
	},
	7: {
		value: 7,
		text: '退款成功'
	},
	8: {
		value: 8,
		text: '部分退款成功'
	}
}

export const refundStatus = {
	0: {
		value: 0,
		text: '无退款'
	},
	1: {
		value: 1,
		text: '申请退款中'
	},
	2: {
		value: 2,
		text: '已退款'
	},
	3: {
		value: 3,
		text: '已退款'
	},
	4: {
		value: 4,
		text: '商家拒绝退款'
	},
	5: {
		value: 5,
		text: '取消退款'
	}
}

export const Rider_Status = {

	1: {
		value: 1,
		text: '骑手已接单'
	},
	2: {
		value: 2,
		text: '骑手取货中'
	},
	3: {
		value: 3,
		text: '配送中'
	},
	4: {
		value: 4,
		text: '配送完成'
	},
	5: {
		value: 5,
		text: '配送取消'
	},
	6: {
		value: 6,
		text: '骑手撤单'
	}
}


export const PAY_Status = {

	0: {
		value: 0,
		text: '待付款'
	},
	1: {
		value: 1,
		text: '已付款'
	},
	2: {
		value: 2,
		text: '超时未支付'
	}
}
export const loginTokenKey = "loginTokenKey"